/**
 * 添加线
 * @param graph
 * @param edgeCfg
 */
export const addEdge = (graph, edgeCfg) => {
    graph.addItem("edge", edgeCfg, true);
}